<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>安装</title>
<link media="all" rel="stylesheet" type="text/css" href="styles/03e73060321a0a848018724a6c83de7f-theme-base.css" />
<link media="all" rel="stylesheet" type="text/css" href="styles/03e73060321a0a848018724a6c83de7f-theme-medium.css" />

 </head>
 <body class="docs"><div class="navbar navbar-fixed-top">
  <div class="navbar-inner clearfix">
    <ul class="nav" style="width: 100%">
      <li style="float: left;"><a href="imagick.requirements.html">« 需求</a></li>
      <li style="float: right;"><a href="imagick.configuration.html">运行时配置 »</a></li>
    </ul>
  </div>
</div>
<div id="breadcrumbs" class="clearfix">
  <ul class="breadcrumbs-container">
    <li><a href="index.html">PHP Manual</a></li>
    <li><a href="imagick.setup.html">安装/配置</a></li>
    <li>安装</li>
  </ul>
</div>
<div id="layout">
  <div id="layout-content"><div id="imagick.installation" class="section">
  <h2 class="title">安装</h2>
  <p class="para">
   此 <a href="https://pecl.php.net/" class="link external">&raquo;&nbsp;PECL</a> 扩展未与
PHP 捆绑。
  </p>
  <p class="para">
   安装此 PECL 扩展相关的信息可在手册中标题为
<a href="install.pecl.html" class="link">PECL
扩展的安装</a>章节中找到。更多信息如新的发行版本、下载、源文件、
维护人员信息及变更日志等，都在此处：
   <a href="https://pecl.php.net/package/imagick" class="link external">&raquo;&nbsp;https://pecl.php.net/package/imagick</a>.
  </p>
  <blockquote class="note"><p><strong class="note">注意</strong>: 
   <span class="simpara">The official name of this extension is <em class="emphasis">imagick</em>.</span>
  </p></blockquote>
  <p class="para">
    Windows users can download prebuilt DLL from the <a href="https://windows.php.net/downloads/pecl/releases/imagick" class="link external">&raquo;&nbsp;PECL</a> website.
    These packages already contain the extension DLL (<var class="filename">php_imagick.dll</var>)
    which needs to be put into the <a href="ini.core.html#ini.extension-dir" class="link">extension_dir</a>.
    They also contain the ImageMagick DLLs, which need to be put somewhere in the <var class="envar">PATH</var>.
    As of Imagick 3.6.0, they also contain XML configuration files in <var class="filename">config</var>;
    to use these instead of the built-in defaults, they need to put into <code class="literal">%USERPROFILE%/.config/ImageMagick</code>,
    or alternatively in the path given by the environment variable <var class="envar">MAGICK_CONFIGURE_PATH</var>.
    Refer to the <a href="http://www.imagemagick.org/script/resources.php" class="link external">&raquo;&nbsp;ImageMagick configuration files documentation</a>
    for further details.
  </p>
 </div></div></div></body></html>